package cn.bdqn.t354.mapper;

import cn.bdqn.t354.pojo.Storage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface StorageMapper extends BaseMapper<Storage> {
    /**
     * 查询仓库和产品表，进行分页
     * @param page 分页条件
     * @param param 过滤条件
     * @return
     */
    public IPage<Storage> getStoragesByPage(IPage<Storage> page,
                                            @Param("param") Map<String,Object> param);

}
